<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
            var test=new Date();
            //constructor 属性返回对创建此对象的 Date 函数的引用。
            //Array/Number/Boolean/String等均有此属性
            if (test.constructor==Array)
            {
                document.write("This is an Array");
            }
            if (test.constructor==Boolean)
            {
                document.write("This is a Boolean");
            }
            if (test.constructor==Date)
            {
                document.write("This is a Date");
            }
            if (test.constructor==String)
            {
                document.write("This is a String");
            }
        </script>
    </head>
    <body>
        TODO write content
    </body>
</html>
